<?php

class usercontroller extends CI_Controller {
	
	function index(){
		
		$this->load->model("users");
		$data["row"] = $this->users->getAll();  //read all the data from model users
		$this->load->view("userslist", $data );
	}
	
	
}